/*
 *  WilTrackerRegister.cpp
 *  Wilson
 *
 *  Created by Sebastian Orfino on 8/12/11.
 *  Copyright 2011 Lbs3 Software. All rights reserved.
 *
 */


#include "VCPlugInHeaders.h"

#include "ITrackerRegister.h"
#include "ITrackerFactory.h"
#include "ISession.h"
#include "WilID.h"
#include "LayoutUIID.h"

#include "CPMUnknown.h"


/** Esto registra el tracker que se usa para mi tool */
class WilTrackerRegister : public CPMUnknown<ITrackerRegister>
{
public:
	
	WilTrackerRegister(IPMUnknown *boss) : CPMUnknown<ITrackerRegister>(boss) { }
	
	void Register(ITrackerFactory* factory);
};


CREATE_PMINTERFACE(WilTrackerRegister, kWilTrackerRegisterImpl);

void WilTrackerRegister::Register(ITrackerFactory * factory)
{
	factory->InstallTracker(kLayoutWidgetBoss, kWilToolBoss, kWilTrackerBoss);
}